<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>处理意见</title>
		<script src="<s:url value="/script/jquery_last.js"/>" type="text/javascript"></script>
<script src="<s:url value="/script/formValidator.js"/>" type="text/javascript" charset="UTF-8"></script>
<script src="<s:url value="/script/formValidatorRegex.js"/>" type="text/javascript" charset="UTF-8"></script>
<link rel="stylesheet" href="<s:url value="/css/style_new.css"/>">
<link rel="stylesheet" href="<s:url value="/css/validator.css"/>">
<script>
</script>
	</head>

	<body  leftmargin="0" topmargin="0">
	<table width="100%" border="0" cellspacing="0" cellpadding="0"
		align="center">
		<tr>
			<td width="20%" valign="top">
				<table width="100%" border="0" cellspacing="0"
					cellpadding="0" align="center" >
					<tr>
						<td valign="top" align="center">
							<br>
							<table width=98% border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td  >
									<s:property value="#returnMsg" />
										<TABLE width="98%" cellSpacing=1 cellPadding=0
											align="center">
											<TR height=30>
												<TD align=left width="10%">
													<input type="button"  value="提 交"  onClick="return submitAdvice();">
													<input type="button" value="取 消" onClick="window.close();">
												</TD>
											</TR>
										</table>
										
										<table width="98%" border="0" cellspacing="0"
											cellpadding="7" align="center" class=tablecolor2>
											<tr>
												<td width="26%" bgcolor="D6E3FA">
													<div align="right">
														<font color="red">*</font>
									<s:if test="advice==1">回退意见：</s:if>
									<s:else>办理意见：</s:else>
													</div>
												</td>
												<td width="74%">
													<textarea name="advice" cols="50" rows="6" /></textarea>
												</td>
											</tr>
									</table>
									
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
	</body>
</html>


<script>
function submitAdvice(){
	var val=document.all["advice"].value;
	if(val==""){
		alter("办理意见不能为空，请输入办理意见！");
		return false;
	}
	if(val.length>500){
		alter("办理意见不能超过500字,请重新输入！");
		return false;
	}
	window.returnValue=val;
	window.close();
}
</script>
